#ifndef QDRIVERDATAWIDGET_H
#define QDRIVERDATAWIDGET_H

#include <QWidget>
#include <QTreeWidget>
#include <QPlainTextEdit>

class QDriverInfo;
class QDriverMessageTextEdit;
class XMLObject;

class QDriverDataWidget : public QWidget
{
    Q_OBJECT
public:
    explicit QDriverDataWidget(QWidget *parent = 0);
    
    void    set_property(const QDriverInfo& info);

    void    add_data(XMLObject* xml);
signals:
    
public slots:
    void    start();
protected:
    QTreeWidget*    m_property_view;
    QDriverMessageTextEdit  *m_textedit;
    bool            m_run;
};

#endif // QDRIVERDATAWIDGET_H
